﻿/*----------------------------------------------------------------
  //Copyright (C) 2012 赵国伟
  //文件功能描述：我的积分管理
  //创建人：赵国伟
  //生成时间：2012/03/17 16:15:00
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Shopping.Common;
using Shopping.Model;
using Shopping.BLL;

public partial class Home_MyScores : BaseUserPage
{
    protected readonly UserScoresManage bllScore = new UserScoresManage();
    protected List<UserScoreRecords> listOfScores = new List<UserScoreRecords>();
    protected AsPage asPage = new AsPage();
    
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            asPage.CurPage = Utility.G<int>("curPage");
            if (asPage.CurPage <= 0) asPage.CurPage = 1;
            listOfScores = bllScore.QueryListAsPage(this.UserID, asPage);
        }
    }
}